package com.tutucms.common.exception;

import lombok.extern.slf4j.Slf4j;

/**
 * @title:
 * @author: wangxudong
 * @date: 2019/3/11 19:48
 * @version: 1.0
 * @modified :
 */
@Slf4j
public class TuTuException extends RuntimeException {

    public TuTuException(String message) {
        super(message);
        log.error(message);
    }

    public TuTuException(String message, Throwable throwable) {
        super(message, throwable);
        log.error(message);
    }
}
